package edu.xjtu.jih.showDemands;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper //本注解明确说明本接口是mybatis的映射器
public interface ShowDemandsDao {
    @Select("select * from items where status=0")
    List<ShowDemandsDto> selectDemands();
    //@Select("select * from items where item_label like #{item_Label} and status=0")
    //List<ShowDemandsDto> selectDemandsByLabel(String item_Label);
}
